]> dgit.raspbian.org Git - gnome-shell.git/commit
popupMenu: Query stage for target actor instead of event.get_source()
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 25 Feb 2022 12:09:33 +0000 (13:09 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 4 Mar 2022 12:27:34 +0000 (12:27 +0000)
commit17730fe5c4eed1e6a9add4db22a7e46ff3e52172
treeed81c91754bddea17c1c6ad52e5c9b357e52567c
parent678e34d371c449a84aaa41fe700556d7eca61458
popupMenu: Query stage for target actor instead of event.get_source()

Events are going to stop containing the destinatary, so stop using this
API. Querying the stage is equivalent and ensured to be up-to-date.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2216>
js/ui/popupMenu.js